#ifndef SRC_UILS_Version_H
#define SRC_UILS_Version_H

#define ILPR_MAKE_VERSION(major, minor, point) \
    (major * 1000 * 1000u + minor * 1000u + point)

#define ILPR_MAKE_VERSION_STR(major, minor, point) \
    #major "." #minor "." #point

//! This is iLPR version number as unsigned integer.  This must
//! be kept on a single line. It is used by Autotool and CMake build
//! systems to parse version number.
#define ILPR_VERSION ILPR_MAKE_VERSION(1, 2, 0)

//! This is iLPR version number as a string.
#define ILPR_VERSION_STR ILPR_MAKE_VERSION_STR(1, 2, 0)

namespace iLPR
{

unsigned const version = ILPR_VERSION;
char const versionStr[] = ILPR_VERSION_STR;

}

#endif